<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Kyoto Cabinet: kyotocabinet::PlantDB&lt; BASEDB, DBTYPE &gt;::Cursor Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Kyoto Cabinet
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacekyotocabinet.html">kyotocabinet</a>      </li>
      <li class="navelem"><a class="el" href="classkyotocabinet_1_1PlantDB.html">PlantDB</a>      </li>
      <li class="navelem"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html">Cursor</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">kyotocabinet::PlantDB&lt; BASEDB, DBTYPE &gt;::Cursor Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="kyotocabinet::PlantDB::Cursor" --><!-- doxytag: inherits="kyotocabinet::BasicDB::Cursor" -->
<p><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html" title="Cursor to indicate a record.">Cursor</a> to indicate a record.  
 <a href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#details">More...</a></p>

<p><code>#include &lt;kcplantdb.h&gt;</code></p>

<p><a href="classkyotocabinet_1_1PlantDB_1_1Cursor-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a1b12f50e44476139a9cc54ae9c74e4ee">Cursor</a> (<a class="el" href="classkyotocabinet_1_1PlantDB.html">PlantDB</a> *<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5b1ae804863c879191b39fc432ac4e91">db</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a1b12f50e44476139a9cc54ae9c74e4ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a6714f26c323848a3555dff7bada533d6">~Cursor</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a6714f26c323848a3555dff7bada533d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a8141035fcfb80991033d2be00e74059d">accept</a> (<a class="el" href="classkyotocabinet_1_1DB_1_1Visitor.html">Visitor</a> *visitor, bool writable=true, bool <a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a97e5de36c7013633822978ba4464566f">step</a>=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accept a visitor to the current record.  <a href="#a8141035fcfb80991033d2be00e74059d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a170dc516ec00ce604a54d1f463762fc7">jump</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Jump the cursor to the first record for forward scan.  <a href="#a170dc516ec00ce604a54d1f463762fc7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a85ea7ab0eb2ba27300f211b62b2c1d24">jump</a> (const char *kbuf, size_t ksiz)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Jump the cursor to a record for forward scan.  <a href="#a85ea7ab0eb2ba27300f211b62b2c1d24"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a339d2bf45a0db189cbcc275d393edce4">jump</a> (const std::string &amp;key)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Jump the cursor to a record for forward scan.  <a href="#a339d2bf45a0db189cbcc275d393edce4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5978f16b3b67db9f96e5915a7814abb8">jump_back</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Jump the cursor to the last record for backward scan.  <a href="#a5978f16b3b67db9f96e5915a7814abb8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a0fad966245dbe96e3fbaf1c5b336d3ca">jump_back</a> (const char *kbuf, size_t ksiz)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Jump the cursor to a record for backward scan.  <a href="#a0fad966245dbe96e3fbaf1c5b336d3ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a1e20c9b0b33046839bb4ade297efa3b2">jump_back</a> (const std::string &amp;key)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Jump the cursor to a record for backward scan.  <a href="#a1e20c9b0b33046839bb4ade297efa3b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a97e5de36c7013633822978ba4464566f">step</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Step the cursor to the next record.  <a href="#a97e5de36c7013633822978ba4464566f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#abaee4c4ed39a012fafa89568ad5b979f">step_back</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Step the cursor to the previous record.  <a href="#abaee4c4ed39a012fafa89568ad5b979f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkyotocabinet_1_1PlantDB.html">PlantDB</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5b1ae804863c879191b39fc432ac4e91">db</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the database object.  <a href="#a5b1ae804863c879191b39fc432ac4e91"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af18dc81278ce30af850281fe89f1b299"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::PlantDB" ref="af18dc81278ce30af850281fe89f1b299" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>PlantDB</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class BASEDB, uint8_t DBTYPE&gt;<br/>
class kyotocabinet::PlantDB&lt; BASEDB, DBTYPE &gt;::Cursor</h3>

<p><a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html" title="Cursor to indicate a record.">Cursor</a> to indicate a record. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1b12f50e44476139a9cc54ae9c74e4ee"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::Cursor" ref="a1b12f50e44476139a9cc54ae9c74e4ee" args="(PlantDB *db)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a1b12f50e44476139a9cc54ae9c74e4ee">Cursor::Cursor</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1PlantDB.html">PlantDB</a> *&#160;</td>
          <td class="paramname"><em>db</em></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">db</td><td>the container database object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6714f26c323848a3555dff7bada533d6"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::~Cursor" ref="a6714f26c323848a3555dff7bada533d6" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a6714f26c323848a3555dff7bada533d6">Cursor::~Cursor</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

<p>Reimplemented from <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Cursor.html#a0e93160f1599c0063b6db4226216cfb3">kyotocabinet::BasicDB::Cursor</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8141035fcfb80991033d2be00e74059d"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::accept" ref="a8141035fcfb80991033d2be00e74059d" args="(Visitor *visitor, bool writable=true, bool step=false)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a8141035fcfb80991033d2be00e74059d">Cursor::accept</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1DB_1_1Visitor.html">Visitor</a> *&#160;</td>
          <td class="paramname"><em>visitor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>writable</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>step</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Accept a visitor to the current record. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">visitor</td><td>a visitor object. </td></tr>
    <tr><td class="paramname">writable</td><td>true for writable operation, or false for read-only operation. </td></tr>
    <tr><td class="paramname">step</td><td>true to move the cursor to the next record, or false for no move. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>The operation for each record is performed atomically and other threads accessing the same record are blocked. To avoid deadlock, any explicit database operation must not be performed in this function. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#af19b3472aeec03686a074dae416c8ed3">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a170dc516ec00ce604a54d1f463762fc7"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::jump" ref="a170dc516ec00ce604a54d1f463762fc7" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a170dc516ec00ce604a54d1f463762fc7">Cursor::jump</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Jump the cursor to the first record for forward scan. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#a9b7e9982b948d66a4d2a0295229ac4c1">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a85ea7ab0eb2ba27300f211b62b2c1d24"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::jump" ref="a85ea7ab0eb2ba27300f211b62b2c1d24" args="(const char *kbuf, size_t ksiz)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a170dc516ec00ce604a54d1f463762fc7">Cursor::jump</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>kbuf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>ksiz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Jump the cursor to a record for forward scan. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">kbuf</td><td>the pointer to the key region. </td></tr>
    <tr><td class="paramname">ksiz</td><td>the size of the key region. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#af5ce800de2275a5e912265fd9afc896d">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a339d2bf45a0db189cbcc275d393edce4"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::jump" ref="a339d2bf45a0db189cbcc275d393edce4" args="(const std::string &amp;key)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a170dc516ec00ce604a54d1f463762fc7">Cursor::jump</a> </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Jump the cursor to a record for forward scan. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>Equal to the original <a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a170dc516ec00ce604a54d1f463762fc7" title="Jump the cursor to the first record for forward scan.">Cursor::jump</a> method except that the parameter is std::string. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#a3b38a11631f37d104209e5feade154b4">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a5978f16b3b67db9f96e5915a7814abb8"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::jump_back" ref="a5978f16b3b67db9f96e5915a7814abb8" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5978f16b3b67db9f96e5915a7814abb8">Cursor::jump_back</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Jump the cursor to the last record for backward scan. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>This method is dedicated to tree databases. Some database types, especially hash databases, may provide a dummy implementation. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#a65452f182db3cd688885c460a761fa9c">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a0fad966245dbe96e3fbaf1c5b336d3ca"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::jump_back" ref="a0fad966245dbe96e3fbaf1c5b336d3ca" args="(const char *kbuf, size_t ksiz)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5978f16b3b67db9f96e5915a7814abb8">Cursor::jump_back</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>kbuf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>ksiz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Jump the cursor to a record for backward scan. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">kbuf</td><td>the pointer to the key region. </td></tr>
    <tr><td class="paramname">ksiz</td><td>the size of the key region. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#a4456015ac4c0248aebcabb03e195e860">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a1e20c9b0b33046839bb4ade297efa3b2"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::jump_back" ref="a1e20c9b0b33046839bb4ade297efa3b2" args="(const std::string &amp;key)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5978f16b3b67db9f96e5915a7814abb8">Cursor::jump_back</a> </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Jump the cursor to a record for backward scan. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>Equal to the original <a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5978f16b3b67db9f96e5915a7814abb8" title="Jump the cursor to the last record for backward scan.">Cursor::jump_back</a> method except that the parameter is std::string. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#a9d392717ad801064a36220a91f907c1d">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a97e5de36c7013633822978ba4464566f"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::step" ref="a97e5de36c7013633822978ba4464566f" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a97e5de36c7013633822978ba4464566f">Cursor::step</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Step the cursor to the next record. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#a312228bd858d3091e32b65f1128faab4">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="abaee4c4ed39a012fafa89568ad5b979f"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::step_back" ref="abaee4c4ed39a012fafa89568ad5b979f" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#abaee4c4ed39a012fafa89568ad5b979f">Cursor::step_back</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Step the cursor to the previous record. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1DB_1_1Cursor.html#a1eb720a41b9bad81f3dd6621870133d5">kyotocabinet::DB::Cursor</a>.</p>

</div>
</div>
<a class="anchor" id="a5b1ae804863c879191b39fc432ac4e91"></a><!-- doxytag: member="kyotocabinet::PlantDB::Cursor::db" ref="a5b1ae804863c879191b39fc432ac4e91" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BASEDB , uint8_t DBTYPE&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1PlantDB.html">PlantDB</a>* <a class="el" href="classkyotocabinet_1_1PlantDB.html">kyotocabinet::PlantDB</a>&lt; BASEDB, DBTYPE &gt;::<a class="el" href="classkyotocabinet_1_1PlantDB_1_1Cursor.html#a5b1ae804863c879191b39fc432ac4e91">Cursor::db</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the database object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the database object. </dd></dl>

<p>Implements <a class="el" href="classkyotocabinet_1_1BasicDB_1_1Cursor.html#a79e3904e5b10ed3d356545ed4259160e">kyotocabinet::BasicDB::Cursor</a>.</p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri May 25 2012 01:21:36 for Kyoto Cabinet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
